
package com.pp.admin.common.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pp.admin.common.client.beans.BaseDomain;
import com.pp.admin.common.client.beans.Domain;

@RemoteServiceRelativePath( "domain" )
public interface DomainServiceAsync {
	
	void getDomainByDomainID( String domainID, AsyncCallback<BaseDomain> callback );
	
	void getDomainsByUserID( String userID, AsyncCallback<List<Domain>> callback );
	
}
